package org.example.myleet.p867;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution1 solution = new Solution1();
        Assert.isTrue(Assert.isPass(new int[][]{{1}}, solution.transpose(new int[][]{{1}})));
        Assert.isTrue(Assert.isPass(new int[][]{{1,4},{2,5},{3,6}}, solution.transpose(new int[][]{{1,2,3},{4,5,6}})));
        Assert.isTrue(Assert.isPass(new int[][]{{1,4,7},{2,5,8},{3,6,9}}, solution.transpose(new int[][]{{1,2,3},{4,5,6},{7,8,9}})));
        Assert.isTrue(Assert.isPass(new int[][]{{2,-10,18},{4,5,-7},{-1,11,6}}, solution.transpose(new int[][]{{2,4,-1},{-10,5,11},{18,-7,6}})));
    }
}
